package com.liqi.common.core.domain.entity;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("用户信息")
public class UserInfo {
	@ApiModelProperty(value = "用户编码", notes = "主键")
	private String ID;
	
	@ApiModelProperty("用户姓名")
	private String NAME;
	
	@ApiModelProperty(value = "账户名称", notes = "唯一键")
	private String ACCOUNT;
	
	@ApiModelProperty("账户密码")
	private String PASSWORD;
	
	@ApiModelProperty(value = "用户工号", notes = "用户工号")
	private String USER_CODE;
	
	@ApiModelProperty(value = "用户性别", notes = "0男，1女")
	private String GENDER;
	
	@ApiModelProperty(value = "用户等级", notes = "默认0")
	private Integer GRADE;
	
	@ApiModelProperty("出生日期")
	private Date BIRTHDAY;
	
	@ApiModelProperty("身份证件号码")
	private String IDENTITY_NUM;
	
	@ApiModelProperty("联系电话")
	private String PHONE;
	
	@ApiModelProperty("手机号码")
	private String MOBILE;
	
	@ApiModelProperty("电子邮箱")
	private String EMAIL;
	
	@ApiModelProperty("职务")
	private String POSITION;
	
	@ApiModelProperty("最后修改时间")
	private Date LAST_LOGIN_TIME;
	
	@ApiModelProperty("用户类型编码")
	private String TYPE_CODE;
	
	@ApiModelProperty("区划编码")
	private String REGION_CODE;
	
	@ApiModelProperty(value = "区划名称", notes = "冗余设计")
	private String REGION_NAME;
	
	@ApiModelProperty(value = "大(主)机构编码", notes = "大部门编码")
	private String ORG_CODE;
	
	@ApiModelProperty(value = "大(主)机构名称", notes = "大部门名称")
	private String ORG_NAME;
	
	@ApiModelProperty("部门简码")
	private String ORG_SHORT_CODE;
	
	@ApiModelProperty(value = "角色ID集合", notes = "以逗号分隔")
	private String ROLE_CODE;
	
	@ApiModelProperty(value = "角色VALUE集合", notes = "以逗号分隔")
	private String ROLE_VALUE;
	
	@ApiModelProperty(value = "是否管理员", notes = "配置管理员级别:0非管理员[普通用户],1 管理员")
	private Integer IS_ADMIN;
	
	@ApiModelProperty("创建人")
	private String CREATOR;
	
	@ApiModelProperty("创建时间")
	private Date CREATE_TIME;
	
	@ApiModelProperty(value = "状态", notes = "0无效，1正常，2锁住")
	private String STATUS;
	
	@ApiModelProperty("排序")
	private Integer SORT_ORDER;
	
	@ApiModelProperty("最后修改时间")
	private Date LAST_EDIT_TIME;
	
	@ApiModelProperty(value = "是否正常使用", notes = "0正常 1已冻结")
	private String IS_INUSE;
	
	@ApiModelProperty("密码错误次数")
	private Integer ERRNUM;
	
	@ApiModelProperty("用户级别")
	private String USER_LEVEL;
	
	@ApiModelProperty("用户地址")
	private String ADDRESS;
	
	@ApiModelProperty(value = "密码是否修改", notes = "0 未修改 1 已修改")
	private Integer PWD_CHANGED;
	
	@ApiModelProperty("更新时间")
	private Date UPDATE_TIME;
	
	@ApiModelProperty("用户类型")
	private String USER_TYPE;
	
	@ApiModelProperty("密码级别")
	private String SECRET_LEVEL;
	
	@ApiModelProperty("密码修改时间")
	private Date PWD_LASTUPDATE;

}
